﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Frontend.Master" Inherits="System.Web.Mvc.ViewPage<IPagedList<sp_GetNewsResult>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="cmbox">
        <div class="ctitle">
            Tin tức</div>
        <div class="ccon">
            <div class="newslist" id="newslist">
                <% Html.RenderPartial("List", this.Model);  %>
            </div>
        </div>
        </div>

    <script type="text/javascript">

        function beginPaging(args) {
            // Animate
            $('#newslist').fadeOut('normal');
        }

        function successPaging() {
            // Animate
            $('#newslist').fadeIn('normal');
        }

        function failurePaging() {
            alert("Could not retrieve products.");
        }
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
